-- cmd_assign_pet_team
-- Create by panyl
-- 宠物组队

function Operation.cmd_assign_pet_team(group, pets)
    --记录起来，需要进行同步
    local v = { ["pets"] = to_mapping(pets), ["group"] = group, };
    SyncM.addMessage("CMD_ASSIGN_PET_TEAM", v);
    SyncM.startSync();

    PetM.setPetGroup(group, pets);
end
